Gets as a IEnumerable<TValue> type, the values of the variable in the specified section and with the corresponding name, by requesting a read to the underlying persistence strategy. If that value is encrypted a decryption request to the encryption strategy is automatically issued to ensure the deliver of plain values.

Namespace: Keystone.Quantum
Assembly: Keystone.Quantum (in Keystone.Quantum.dll)

public IEnumerable<TValue> GetMultivaluedVariableAs<TValue>( 
string section
string name 
)
This language is not supported or no code example is available.

Type Parameters

TValue

The type of the t valor.

Parameters

section

Type: string

The name of the configuration section where the requested variable is located. A section represents a group of configuration variables that share a common meaning for the application.

name

Type: string

The name of the variable to be read.

Return Value

The values of the requested variable, converted to the desired IEnumerable<TValor> type.
Exception type Condition

InvalidOperationException

If the requested variable is not extracted by the persistence strategy.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono